package com.example.demo;

public class User {
    String name;
    int age;

    public User(String name, int age) {
        this.name = name;
        this.age = age;
    }


    //转换
    @Override
    public String toString() {
        return "name :"+name +" age: "+age;
    }
}
